#ifndef _SDK_UTILS_H_
#define _SDK_UTILS_H_

#include "sdk_common.h"


extern int ya_3rd_pkg_random_lake_check(int16_t random);
extern uint16_t ya_3rd_pkg_random_lake_put(int16_t random);
extern unsigned short CRC16_CCITT_calc(unsigned char input[], int length, unsigned short crc /*=0x0000*/);
extern void sdk_utils_bin2hex(char *s, const unsigned char *p, uint32_t len);
extern char *sdk_utils_int_to_string(uint32_t value);
extern int sdk_utils_string2hexArray(uint8_t *hexarray,uint16_t length, char *string);
extern void sdk_utils_hexArray2string(uint8_t *hexarray, uint16_t length, char *string);
#endif
